package com.hui.bean;

import lombok.Data;

import java.util.Date;

/**
 * 学生实体
 *
 */
@Data
public class StudentBean {


    /**
     * 学生ID ，通过UUID+当前时间实现
     */
    private int studentId;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 学生性别：男、女
     */
    private String studentSex;

    /**
     * 头像路径
     */
    private String headPicPath;

    /**
     * 学生电话
     */
    private String studentPhone;

    /**
     * 学生入住时间  util包下的时间，如果要插入数据，需要转成sql包下的日期
     */
    private Date studentInDate;

    /**
     * 学生所在班级
     */
    private ClassBean  myClass;

    /**
     * 学生所在房间
     */
    private RoomBean myRoom;

    public StudentBean() {
    }

    public StudentBean(int studentId, String studentName, String studentSex, String headPicPath, String studentPhone, Date studentInDate, ClassBean myClass, RoomBean myRoom) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.studentSex = studentSex;
        this.headPicPath = headPicPath;
        this.studentPhone = studentPhone;
        this.studentInDate = studentInDate;
        this.myClass = myClass;
        this.myRoom = myRoom;
    }



}
